Optimal. Leaf size=360 \[ \frac {2^{-1-2 p} e^{-\frac {4 a}{b}} \Gamma \left (1+p,-\frac {4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^4 e^4}-\frac {2\ 3^{-p} d e^{-\frac {3 a}{b}} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^3 e^4}+\frac {3\ 2^{-p} d^2 e^{-\frac {2 a}{b}} \Gamma \left (1+p,-\frac {2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^2 e^4}-\frac {2 d^3 e^{-\frac {a}{b}} \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.36, antiderivative size = 360, normalized size of antiderivative = 1.00, number of steps
used = 15, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {2504, 2448,
2436, 2336, 2212, 2437, 2346} \begin {gather*} \frac {2^{-2 p-1} e^{-\frac {4 a}{b}} \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right )}{c^4 e^4}-\frac {2 d 3^{-p} e^{-\frac {3 a}{b}} \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right )}{c^3 e^4}+\frac {3 d^2 2^{-p} e^{-\frac {2 a}{b}} \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right )}{c^2 e^4}-\frac {2 d^3 e^{-\frac {a}{b}} \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p} \text {Gamma}\left (p+1,-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )}{c e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 2336
Rule 2346
Rule 2436
Rule 2437
Rule 2448
Rule 2504
Rubi steps
\begin {align*} \int x \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \, dx &=2 \text {Subst}\left (\int x^3 (a+b \log (c (d+e x)))^p \, dx,x,\sqrt {x}\right )\\ &=2 \text {Subst}\left (\int \left (-\frac {d^3 (a+b \log (c (d+e x)))^p}{e^3}+\frac {3 d^2 (d+e x) (a+b \log (c (d+e x)))^p}{e^3}-\frac {3 d (d+e x)^2 (a+b \log (c (d+e x)))^p}{e^3}+\frac {(d+e x)^3 (a+b \log (c (d+e x)))^p}{e^3}\right ) \, dx,x,\sqrt {x}\right )\\ &=\frac {2 \text {Subst}\left (\int (d+e x)^3 (a+b \log (c (d+e x)))^p \, dx,x,\sqrt {x}\right )}{e^3}-\frac {(6 d) \text {Subst}\left (\int (d+e x)^2 (a+b \log (c (d+e x)))^p \, dx,x,\sqrt {x}\right )}{e^3}+\frac {\left (6 d^2\right ) \text {Subst}\left (\int (d+e x) (a+b \log (c (d+e x)))^p \, dx,x,\sqrt {x}\right )}{e^3}-\frac {\left (2 d^3\right ) \text {Subst}\left (\int (a+b \log (c (d+e x)))^p \, dx,x,\sqrt {x}\right )}{e^3}\\ &=\frac {2 \text {Subst}\left (\int x^3 (a+b \log (c x))^p \, dx,x,d+e \sqrt {x}\right )}{e^4}-\frac {(6 d) \text {Subst}\left (\int x^2 (a+b \log (c x))^p \, dx,x,d+e \sqrt {x}\right )}{e^4}+\frac {\left (6 d^2\right ) \text {Subst}\left (\int x (a+b \log (c x))^p \, dx,x,d+e \sqrt {x}\right )}{e^4}-\frac {\left (2 d^3\right ) \text {Subst}\left (\int (a+b \log (c x))^p \, dx,x,d+e \sqrt {x}\right )}{e^4}\\ &=\frac {2 \text {Subst}\left (\int e^{4 x} (a+b x)^p \, dx,x,\log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{c^4 e^4}-\frac {(6 d) \text {Subst}\left (\int e^{3 x} (a+b x)^p \, dx,x,\log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{c^3 e^4}+\frac {\left (6 d^2\right ) \text {Subst}\left (\int e^{2 x} (a+b x)^p \, dx,x,\log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{c^2 e^4}-\frac {\left (2 d^3\right ) \text {Subst}\left (\int e^x (a+b x)^p \, dx,x,\log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{c e^4}\\ &=\frac {2^{-1-2 p} e^{-\frac {4 a}{b}} \Gamma \left (1+p,-\frac {4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^4 e^4}-\frac {2\ 3^{-p} d e^{-\frac {3 a}{b}} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^3 e^4}+\frac {3\ 2^{-p} d^2 e^{-\frac {2 a}{b}} \Gamma \left (1+p,-\frac {2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^2 e^4}-\frac {2 d^3 e^{-\frac {a}{b}} \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.64, size = 229, normalized size = 0.64 \begin {gather*} \frac {2^{-1-2 p} 3^{-p} e^{-\frac {4 a}{b}} \left (3^p \Gamma \left (1+p,-\frac {4 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right )-2^{1+p} c d e^{a/b} \left (2^{1+p} \Gamma \left (1+p,-\frac {3 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right )+3^p c d e^{a/b} \left (-3 \Gamma \left (1+p,-\frac {2 \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )}{b}\right )+2^{1+p} c d e^{a/b} \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )\right )\right )\right ) \left (a+b \log \left (c \left (d+e \sqrt {x}\right )\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+e \sqrt {x}\right )\right )}{b}\right )^{-p}}{c^4 e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int x \left (a +b \ln \left (c \left (d +e \sqrt {x}\right )\right )\right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x\,{\left (a+b\,\ln \left (c\,\left (d+e\,\sqrt {x}\right )\right )\right )}^p \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________